<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>数组</title>
	<script type="text/javascript">
		var str1 = "北京";
		var str2 = "广州";
		var str3 = "东莞";
		var arr = [3434.89,'广州',[['番禺','白云'],'珠海']];
		arr[100] = "深圳";
		console.log(arr);
		// alert(arr[2][0][1]);
		// alert(str2);
		var arr = [45,43,3,3,74,34,23,3];
		var res = 0;
		// for (var i = 0; i < arr.length; i++) {
		// 	res += arr[i];
		// };
		for(var i in arr){
			res += arr[i];
		}
		alert(res);

		function Arradd (argument) {
			// body...
		}

		function Arrdel (argument) {
			// body...
		}

		function Arrsort (argument) {
			// body...
		}

		function Arrsilpt (argument) {
			// body...
		}


	</script>
</head>
<body>
	
</body>
</html>